package com.black.platform.dictionary.service.handler;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.black.common.web.PageQuery;
import com.black.platform.dictionary.po.DictionaryCategory;

import java.util.List;

public interface DictionaryCategoryHandlerService {

    IPage<DictionaryCategory> search(PageQuery<DictionaryCategory> searchVo);

    List<DictionaryCategory> getAllCategory();

    boolean save(DictionaryCategory dictionaryCategory);

    boolean update(DictionaryCategory dictionaryCategory);

    DictionaryCategory getById(Long id);

    boolean deleteByIds(List<Long> ids);
}
